home *** CD-ROM | disk | FTP | other *** search
- On 25-Okt-97, Mr. Giark To You smashed the keyboard with:
- >On 25-Oct-97, Alastair Murray wrote:
- >>Anyone have any AMOS code for doing a pattern match on a string?
- >>e.g. *.AMOS or #?.AMOS to see if a string contains .AMOS in it
- >>anywhere.
- >>Saves me writing it myself...
-
- >A=Instr(<string to check>,<string to search for>)
-
- THAT's NOT A PATTERN MATCH, but a character match
-
- --
- Happy greetings, Yours..
- __________________________________________________________________________
- /_ __/ __ / __ /\ ___\ __ \__ _\ aka. JENS VANG PETERSEN
- / / / /_/ / ____/ \ \___\ __ \ \ \ Nyvej 8, DK-4450 Jyderup, Denmark
- /_/ /_____/_/ \_____\_\ \_\ \_\ top_cat@post8.tele.dk
- --------------------------------------------------------------------------
- f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
- --------------------------------------------------------------------------
-
-
-